<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./a.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .box {
            width: 1000px;
            height: 658px;
            margin: 0 auto;
            color: #f5f5f5;
            position: relative;
        }
        img {
            width: 160px;
            height: 160px;
            border: 0;
            margin: 0 auto 18px;
            display: block;
        }
        .top {
            width: 994px;
            height: 42px;
            position: relative;
        }
        .top ul {
            position: absolute;
            top: 0;
            right: 0;
            width: 264px;
            height: 42px;
            z-index: 10;
            margin: 0;
            padding: 16px 0 0;
            list-style-type: none;
            font-size: 16px;
        }
        .top ul li {
            float: left;
            height: 32px;
            padding: 0;
            margin: 0 15px;
            color: #424242;
            border-bottom: 2px solid #f5f5f5;
            border-bottom: 2px solid rgba(0, 0, 0, 0);
            -webkit-transition: border .3s;
            transition: border .3s;
            cursor: pointer;
        }
        .top ul li:hover {
            color: #ff6700;
            border-bottom: 2px solid #ff6700;
        }
        /* .top ul li p {
            font-size: 30px;
            cursor: pointer;
        } */
        .middle {
            width: 994px;
            height: 614px;
        }
        .middle ul {
            width: 992px;
            padding: 0;
            list-style-type: none;
        }
        .middle ul li {
            height: 300px;
            padding: 0;
            position: relative;
            z-index: 1;
            float: left;
            width: 234px;
            margin-left: 14px;
            margin-bottom: 14px;
            background: #fff;
            -webkit-transition: all .2s linear;
            transition: all .2s linear;
        }
        .middle ul li .title {
            text-align: center;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            margin: 0 10px;
            font-size: 14px;
            font-weight: 400;
            color: #333;
            display: block;
        }
        .middle ul li .desc {
            margin: 0 10px 10px;
            height: 18px;
            font-size: 12px;
            color: #b0b0b0;
            text-align: center;
        }
        .middle ul li .price {
            font-size: 14px;
            margin: 0 10px 14px;
            text-align: center;
            color: #ff6700;
        }
        .middle ul li .price del {
            margin-left: .5em;
            color: #b0b0b0;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="top">
            <ul>
                <li>
                    <p>扫地机</p>
                </li>
                <li>
                    <p>空净</p>
                </li>
                <li>
                    <p>清洁</p>
                </li>
                <li>
                    <p>风扇</p>
                </li>
            </ul>
        </div>
        <div class="middle">
            <ul>
                <li>
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/35b5669b506219fe7252ac5fa9baa1b5.jpg?thumb=1&w=250&h=250&f=webp&q=90"
                        alt="">
                    <div>
                        <h1 class="title">米家全能扫拖机器人</h1>
                        <h2 class="desc">免洗集尘全自动，一机解放双手</h2>
                        <p class="price">
                            <span class="num">3699元</span>
                            <del><span class="num">4599元</span></del>
                        </p>
                    </div>
                </li>
                <li>
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/35b5669b506219fe7252ac5fa9baa1b5.jpg?thumb=1&w=250&h=250&f=webp&q=90"
                        alt="" id="lis">
                    <div>
                        <h1 class="title">米家全能扫拖机器人</h1>
                        <h2 class="desc">免洗集尘全自动，一机解放双手</h2>
                        <p class="price">
                            <span class="num">3699元</span>
                            <del><span class="num">4599元</span></del>
                        </p>
                    </div>
                </li>
                <li>
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/35b5669b506219fe7252ac5fa9baa1b5.jpg?thumb=1&w=250&h=250&f=webp&q=90"
                        alt="" id="lis">
                    <div>
                        <h1 class="title">米家全能扫拖机器人</h1>
                        <h2 class="desc">免洗集尘全自动，一机解放双手</h2>
                        <p class="price">
                            <span class="num">3699元</span>
                            <del><span class="num">4599元</span></del>
                        </p>
                    </div>
                </li>
                <li>
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/35b5669b506219fe7252ac5fa9baa1b5.jpg?thumb=1&w=250&h=250&f=webp&q=90"
                        alt="" id="lis">
                    <div>
                        <h1 class="title">米家全能扫拖机器人</h1>
                        <h2 class="desc">免洗集尘全自动，一机解放双手</h2>
                        <p class="price">
                            <span class="num">3699元</span>
                            <del><span class="num">4599元</span></del>
                        </p>
                    </div>
                </li>
                <li>
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/35b5669b506219fe7252ac5fa9baa1b5.jpg?thumb=1&w=250&h=250&f=webp&q=90"
                        alt="" id="lis">
                    <div>
                        <h1 class="title">米家全能扫拖机器人</h1>
                        <h2 class="desc">免洗集尘全自动，一机解放双手</h2>
                        <p class="price">
                            <span class="num">3699元</span>
                            <del><span class="num">4599元</span></del>
                        </p>
                    </div>
                </li>
                <li>
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/35b5669b506219fe7252ac5fa9baa1b5.jpg?thumb=1&w=250&h=250&f=webp&q=90"
                        alt="" id="lis">
                    <div>
                        <h1 class="title">米家全能扫拖机器人</h1>
                        <h2 class="desc">免洗集尘全自动，一机解放双手</h2>
                        <p class="price">
                            <span class="num">3699元</span>
                            <del><span class="num">4599元</span></del>
                        </p>
                    </div>
                </li>
                <li>
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/35b5669b506219fe7252ac5fa9baa1b5.jpg?thumb=1&w=250&h=250&f=webp&q=90"
                        alt="" id="lis">
                    <div>
                        <h1 class="title">米家全能扫拖机器人</h1>
                        <h2 class="desc">免洗集尘全自动，一机解放双手</h2>
                        <p class="price">
                            <span class="num">3699元</span>
                            <del><span class="num">4599元</span></del>
                        </p>
                    </div>
                </li>
                <li>
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/35b5669b506219fe7252ac5fa9baa1b5.jpg?thumb=1&w=250&h=250&f=webp&q=90"
                        alt="" id="lis">
                    <div>
                        <h1 class="title">米家全能扫拖机器人</h1>
                        <h2 class="desc">免洗集尘全自动，一机解放双手</h2>
                        <p class="price">
                            <span class="num">3699元</span>
                            <del><span class="num">4599元</span></del>
                        </p>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</body>

</html>